package com.ccb.jyzx.expand.tiantouonline.dao;

import com.ccb.jyzx.expand.tiantouonline.bean.SchedulerBatch;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @projectName: extend
 * @author: jianghaolin
 * @date: 2019/11/21
 * @version: 1.0
 */
@Repository
public interface SchedulerBatchDao {

    /**
     * 查询单个配置
     * @param id
     * @return
     */
    SchedulerBatch findOne(@Param("id") String id);

    /**
     * 查询所有
     * @return
     */
    List<SchedulerBatch> findAll();
}
